package com.yz.common.constant;

/**
 * Created With IntelliJ IDEA.
 * Descriptions:
 * <p>
 * User:Mr.Du
 * Date:2024/3/18
 * Time:17:17
 */
public class Constants {
    /**
     * 系统前缀
     */
    public final static String CACHE_PREFIX = "yz:";

    /**
     * 登录用户key
     */
    public final static String LOGIN_USER_KEY = "login_user_key:";

    /**
     * 找回密码key
     */
    public final static String FIND_PASS_BY_EMAIL = "find_pass_by_email:";

    public final static String FIND_PASS_BY_CODE = "find_pass_by_code:";

    public final static Integer PROMOTION_LENGTH = 32;

    public final static Integer PROMOTION_TOKEN_LENGTH = 16;

    public final static int PROMOTION_EXPIRATION = 30;
}
